﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ManagerInfoConfig : EntityTypeConfiguration<ManagerInfo>
    {
        public ManagerInfoConfig()
        {
            ToTable("Himall_Managers");
            Property(item => item.UserName).HasColumnType("varchar").HasMaxLength(200);
            Property(item => item.Password).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.PasswordSalt).HasColumnType("varchar").HasMaxLength(100);
            Property(item => item.RealName).HasColumnType("varchar").HasMaxLength(1000);
            Property(item => item.Remark).HasColumnType("varchar").HasMaxLength(1000);
          
        }
    }
}
